<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <link rel="Bookmark" href="../imgs/bai.ico"/>
    <link rel="Shortcut Icon" href="../imgs/bai.ico"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/style.css"/>
    <title>后台管理</title>
    <style type="text/css">
    </style>
</head>
<body>
<article class="cl pd-20">
    <div class="form form-horizontal">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span>
                工时项：
            </label>
            <div class="formControls col-xs-8 col-sm-9" id="pid_show">
                <!--<select class="input-text" id="config_whid"></select>-->
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span>
                内容搜索：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" id="cnt_ss" placeholder="搜索内容" oninput="cntByKey();"/>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span>
                工作内容：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <!--<input type="text" class="input-text" id="title" placeholder="输入工作内容"/>-->
                <!--<textarea class="input-text" id="config_detail" style="height: 100px; resize: none;" readonly></textarea>-->
                <!-- <select class="input-text" id="cnt_id"></select> -->
                <select style="padding: 5px 10px; width: 100%; border: 1px solid #ccc;" size="3" id="cnt_id"></select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span>
                开始时间：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <select class="input-text" id="starthour" onchange="getDelay();"></select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span>
                结束时间：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <select class="input-text" id="endhour" onchange="getDelay();"></select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span>
                时长：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" id="delay" disabled/>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="button" style="width: 50%;" value="保存" onclick="modify();"/>
            </div>
        </div>
    </div>
</article>

<!-- msg弹窗 -->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="../lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="../static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="../js/view.js"></script>
<script type="text/javascript" src="../js/yw-wh/wh_item.js"></script>
<script type="text/javascript">
    var id = getParamByUrl('id');
    var wh_id = getParamByUrl('wh_id');
    var config_whid = getParamByUrl('config_whid');
    var cnt_id = getParamByUrl('cnt_id');
    var cnt_str = getParamByUrl('cnt_str');
    var config_title = getParamByUrl('config_title');
    config_title = config_title ? config_title : '';
    console.log(config_whid, config_title);
    (function (){
        getOne();
    })();
</script>